/*
 * Copyright (c) 2022 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, Hardware
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "hualei/hualei_engine.h"

namespace OHOS::Render3D {
HUALEIEngine::HUALEIEngine(const IPlatformCreateInfo& info) {}

TextureInfo HUALEIEngine::CreateTargetSceneTexture(uint32_t key, int32_t width, int32_t height)
{
    return TextureInfo { width, height, 0 };
};

void HUALEIEngine::SetTargetSceneTexture(uint32_t key, const TextureInfo& info) {}

void HUALEIEngine::ImportScene(uint32_t key, const std::string& gltfPath) {}

void HUALEIEngine::ImportBackgroundScene(uint32_t key, const std::string& gltfPath) {}

void HUALEIEngine::SetUpCamera(uint32_t key, const std::string& cameraName, const CameraInfo& info) {}
    
void HUALEIEngine::SetUpLight(uint32_t key, const std::string& lightName, const LightInfo& info) {}
    
void HUALEIEngine::SetUpAnimation(uint32_t key, const std::string& animationName)
{
    SetAnimationState(key, animationName, AnimationState::PLAY);
}

void HUALEIEngine::SetAnimationState(uint32_t key, const std::string& animationName, AnimationState state) {}
    
void HUALEIEngine::RenderFrame(uint32_t key) {}
}